package no.uib.hplims.views.peptides;

import com.vaadin.ui.Component;
import com.vaadin.ui.HorizontalSplitPanel;

public class DualView extends HorizontalSplitPanel {

	private static final long serialVersionUID = 6048748769103942475L;

	public DualView(String caption, Component left, Component right) {
		setCaption(caption);
		
		setSplitPosition(50); // percent
		setSizeFull();
		
		addComponent(left);
		addComponent(right);
	}
}
